﻿// --------------------------------------------------------------------------------------------------------------------
// <copyright file="ReportListener.cs" company="">
// </copyright>
// <summary>
//   The report listener.
// </summary>
// --------------------------------------------------------------------------------------------------------------------
namespace UITest.Report
{
    using System;

    /// <summary>
    ///     The report listener.
    /// </summary>
    public class ReportListener : IReportListener
    {
        #region Public Methods and Operators

        public bool IsPassed;

        /// <summary>
        /// The report error.
        /// </summary>
        /// <param name="message">
        /// The message.
        /// </param>
        public virtual void ReportError(string message)
        {
            Console.WriteLine(message);
        }

        /// <summary>
        /// The write test output.
        /// </summary>
        /// <param name="message">
        /// The message.
        /// </param>
        public virtual void WriteTestOutput(string message)
        {
            Console.WriteLine(message);
        }

        #endregion
    }
}